home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sacred & Secular
/
Sacred and Secular.iso
/
pc
/
movies
/
shared.dir
/
05026_Script_5026
< prev
next >
Wrap
Text File
|
1996-04-03
|
3KB
|
99 lines
on ghostrollover spriteno
global ghostrollno
if spriteno <> ghostrollno then
set the visible of sprite spriteno to true
set the visible of sprite ghostrollno to false
set ghostrollno to spriteno
end if
end ghostrollover
on checkghostrollover
global musicon, narron
if rollover(26) then ghostrollover (43)
else if the castNum of sprite 28 <> 0 and rollover(28) then ghostrollover (44)
else if the castNum of sprite 29 <> 0 and rollover(29) then ghostrollover (41)
else if rollover(30) then ghostrollover (42)
else if rollover(31) and musicon then ghostrollover (45)
else if the castNum of sprite 23 <> 0 and rollover(23) and narron then ghostrollover (46)
else ghostrolloveroff
end checkghostrollover
on checkghost2
if rollover(26) then ghostrollover (43)
else if rollover(28) then ghostrollover (44)
else if rollover(29) then ghostrollover (41)
else if rollover(30) then ghostrollover (42)
else if rollover(23) then ghostrollover (46)
else ghostrolloveroff
end checkghost2
on checkghost3
global music2on
if rollover(26) then ghostrollover (43)
else if rollover(28) then ghostrollover (44)
else if rollover(29) then ghostrollover (41)
else if rollover(30) then ghostrollover (42)
else if rollover(31) and music2on then ghostrollover (45)
else ghostrolloveroff
end checkghost3
on ghostrolloveroff
global ghostrollno
repeat with i = 41 to 46
set the visible of sprite i to false
end repeat
set ghostrollno = 0
end ghostrolloveroff
on planerollover1
global rplane,rplanemask
global lplane,lplanemask
global zoomOut,zoommask
global zoomin,zoommask
if the mouseV > 440 or the mouseV < 0 or the mouseH > 582 then cursor -1
else if (the mouseH < the left of sprite 3) and the mouseH > 0 then cursor [lplane,lplanemask]
else if (the mouseH > the right of sprite 3) and the mouseH < 640 then cursor [rplane,rplanemask]
else if rollover(3) then cursor [zoomin,zoommask]
else cursor -1
end planerollover1
on planerollover2
global rplane,rplanemask
global lplane,lplanemask
global zoomOut,zoommask
global zoomin,zoommask
global gPauseWendy, musicOn, NarrOn
set h = the mouseH
set v = the mouseV
--put h && v into field 6
--
--
-- Set the cursor to the watch if less than the WAIT time
--
if (the timer < gPauseWendy) and (musicOn or NarrOn) then cursor 4
else if v < 0 or v > 480 or h < 0 or h > 640 then cursor -1
else if h < 20 and h > 0 then cursor [lplane,lplanemask]
else if h > 620 and h < 640 then cursor [rplane,rplanemask]
else if the shiftDown then cursor [zoomOut,zoommask]
else cursor [zoomin,zoommask]
end planerollover2
on PopUpMenu hilitebutton
global spritevis, popuptoggle
set spritevis = hilitebutton
set the visible of sprite 32 to true
set the visible of sprite 40 to true
set the visible of sprite hilitebutton to true
set popuptoggle = 1
end PopUpMenu